package com.itheima.Jiuye02Demo01;

public class TestBijiben {
    public static void main(String[] args) {
        Bijiben b = new Bijiben();
        b.poweron();
        Shubiao s = new Shubiao();
        b.useDevice(s);;
        Jianpan j = new Jianpan();
        b.useDevice(j);
        b.poweroff();
    }


}
